using Microsoft.EntityFrameworkCore;
using MyWebApi.Api.Entity;

namespace MyWebApi.Api.Db
{
    public class ShowDb : DbContext
    {
        public DbSet<Users> Users { get; set; }

        protected override void OnConfiguring(DbContextOptionsBuilder options)
            => options.UseSqlServer(@"server=.;database=ShowDb;uid=sa;pwd=123456;");
    }
}
